|
SAP Convergent Charging
Java and XML APIs (Core) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.highdeal.pnr.hci.PrepaidTransactionFieldMappingModel
public class PrepaidTransactionFieldMappingModel
This class represents how a detail of a prepaid transaction can be mapped to a constant, or to a property of the rating context.
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="fieldMapping">
<xs:complexType>
<xs:attribute name="transactionField" type="PrepaidTransactionFieldType" use="required"/>
<xs:attribute name="propertyName" type="xs:string" use="optional"/>
<xs:attribute name="value" type="xs:string" use="optional"/>
</xs:complexType>
</xs:element>
| Constructor Summary | |
|---|---|
PrepaidTransactionFieldMappingModel()
Builds a new prepaid transaction detail mapping. |
|
PrepaidTransactionFieldMappingModel(PrepaidTransactionField transactionField,
java.lang.String propertyName,
java.lang.String stringValue,
java.math.BigDecimal numberValue,
java.util.Date dateValue)
Builds a full prepaid transaction detail mapping. |
|
| Method Summary | |
|---|---|
void |
addCharacterData(java.lang.String data)
Adds character data to the content element. |
void |
addChild(java.lang.String tagName,
XMLMarshallable child)
Adds a child to the object, the child representing
the marshallable object which must be added to the element. |
java.util.Date |
getDateValue()
Returns the constant value that is mapped if it is a date. |
java.math.BigDecimal |
getNumberValue()
Returns the constant value that is mapped if it is a number. |
java.lang.String |
getPropertyName()
Gets the property name of the rating context that is mapped. |
java.lang.String |
getStringValue()
Returns the constant value that is mapped if it is a string. |
PrepaidTransactionField |
getTransactionField()
Gets the transaction field of the prepaid transaction that is mapped. |
void |
marshal(XMLOutputter output)
Gives an XML representation of this object, including its children. |
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the element being processed. |
void |
setDateValue(java.util.Date date)
Sets the constant value that is mapped if it is a date. |
void |
setNumberValue(java.math.BigDecimal number)
Sets the constant value that is mapped if it is a number. |
void |
setPropertyName(java.lang.String propertyName)
Sets the property name of the rating context that is mapped. |
void |
setStringValue(java.lang.String string)
Sets the constant value that is mapped if it is a string. |
void |
setTransactionField(PrepaidTransactionField field)
Sets the transaction field of the prepaid transaction that is mapped. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PrepaidTransactionFieldMappingModel()
public PrepaidTransactionFieldMappingModel(PrepaidTransactionField transactionField,
java.lang.String propertyName,
java.lang.String stringValue,
java.math.BigDecimal numberValue,
java.util.Date dateValue)
transactionField - propertyName - stringValue - numberValue - dateValue - | Method Detail |
|---|
public java.lang.String getPropertyName()
public void setPropertyName(java.lang.String propertyName)
propertyName - the name of the property to map.public PrepaidTransactionField getTransactionField()
public void setTransactionField(PrepaidTransactionField field)
field - the transaction field of the prepaid transaction that is mapped.public java.lang.String getStringValue()
public void setStringValue(java.lang.String string)
string - the constant value that is mapped if it is a string.public java.math.BigDecimal getNumberValue()
public void setNumberValue(java.math.BigDecimal number)
number - the constant value that is mapped if it is a number.public java.util.Date getDateValue()
public void setDateValue(java.util.Date date)
date - the constant value that is mapped if it is a date.public void addCharacterData(java.lang.String data)
addCharacterData in interface XMLMarshallabledata - The character data to be added
public void addChild(java.lang.String tagName,
XMLMarshallable child)
child representing
the marshallable object which must be added to the element.
addChild in interface XMLMarshallabletagName - The name of tag for the childchild - The child to be addedpublic void marshal(XMLOutputter output)
marshal in interface XMLMarshallableoutput - The XML output to marshal the object intopublic void setAttributes(XMLAttributes atts)
setAttributes in interface XMLMarshallableatts - The XML attributes of the current element
|
Document Published: October 2015 (SAP CC 4.0 SP10 and Later) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||